package com.yuyu.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author: LCG
 * 作者: LCG
 * 日期: 2021/3/19  8:52
 * 描述:
 */
@ConfigurationProperties(prefix = "es")
@Component
public class EsConfigEntity {

    private int fenpian;

    private String zookeeperList;

    private String namesapace;

    private String jobName;

    private String cron;

    public int getFenpian() {
        return fenpian;
    }

    public void setFenpian(int fenpian) {
        this.fenpian = fenpian;
    }

    public String getZookeeperList() {
        return zookeeperList;
    }

    public void setZookeeperList(String zookeeperList) {
        this.zookeeperList = zookeeperList;
    }

    public String getNamesapace() {
        return namesapace;
    }

    public void setNamesapace(String namesapace) {
        this.namesapace = namesapace;
    }

    public String getJobName() {
        return jobName;
    }

    public void setJobName(String jobName) {
        this.jobName = jobName;
    }

    public String getCron() {
        return cron;
    }

    public void setCron(String cron) {
        this.cron = cron;
    }
}
